﻿using System.Web.Mvc;
using BulldogCMS.Core.Runtime.Modules;

namespace BulldogCMS.Manager.Controllers
{
    public class HomeController : BaseModuleController
    {
        public ActionResult Index()
        {
            if (ManagerContext.Current != null)
            {
                return base.RedirectToModuleAction("Index", "Desktop");
            }
            else
            {
                return RedirectToModuleAction("Login", "Account");
            }
        }

    }
}
